package com.spaceobj.chess.common;

public class RedisKeyConstants {
    // 游戏状态
    public static final String GAME_STATE_KEY = "game:state:";  // game:state:{gameId}
    // 用户会话
    public static final String USER_SESSION_KEY = "user:session:";  // user:session:{userId}
    // 匹配队列
    public static final String MATCH_QUEUE_KEY = "match:queue:";  // match:queue:{matchMode}
    // 用户在线状态
    public static final String USER_ONLINE_KEY = "user:online:";  // user:online:{userId}
    // 观战者列表
    public static final String SPECTATOR_LIST_KEY = "game:spectators:";  // game:spectators:{gameId}
} 